EMT Practice Test

1. Question Content...


Question List

Question1: An Adobe Commerce developer has been asked to remove reviews from the product details page.
How would they remove the block using XML?

Question2: An Adobe Commerce developer wants to create a sticky widget.
How would the widget be initialized using the data-mage-init attribute?
A)

B)

C)

Question3: An Adobe Commerce developer needs to create a custom footer for all emails sent from Adobe Commerce.
Which pattern would they use to customize the email template footer in a theme?

Question4: An Adobe Commerce developer has found following code:

After compiling the .less file into a .ess file, what will be the results of the code above?

Question5: An Adobe Commerce developer has been asked to remove reviews from the product details page.
How would they remove the block using XML?

Question6: An Adobe Commerce developer needs to add an icon to the "Add to cart" button within a custom theme. The custom theme is child theme of the Magento/blank theme.
What is the purpose of using file in a custom theme?

Question7: An Adobe Commerce developer has been asked to add a template "view.phtml to a block "orange_view" . The
"orange_view'' block is added in the| as:

Which option would the developer use to define the template in the ''block vendor\orange\Block\view?

Question8: An Adobe Commerce developer has created a custom mixin to use in several places inside of their LESS files.
How would they apply this custom mixin inside a class called .user-menu?

Question9: An Adobe Commerce developer is creating a custom theme that needs to extend the blank theme.
How would they extend the blank theme in app/design/frontend/<Vendor>/<theme>/theme.xml?

Question10: An Adobe Commerce developer has created a widget Vendor_Module/js/custom-widget.js

Which option can be used to call this widget?

Question11: An Adobe Commerce developer needs to create a mixin for a third party JavaScript module.
Which code snippet can configure the mixin m requirejs-config.js?
A)

B)

C)

Question12: An Adobe Commerce developer wants to remove the default Wishlist and Compare Products blocks on a category page with layered navigation. Where would this modification be placed, assuming the developer only wants to make this change?

Question13: An Adobe Commerce developer wants to completely overwrite _module.less of Orange_Orange_Checkout module, in their theme. Where would the developer place the file?

Question14: An Adobe Commerce developer needs to modify the width and height of all product images inside the theme Vendor/theme. What file inside the theme is responsible for these changes?

Question15: An Adobe Commerce developer needs to add a new element which contains a class custom-cms and an id custom-cms-id .
The result will be: <div class"custom-cms" id-"custom-cms-id"></div>
Which layout instruction would be used to add the new element?

Question16: An Adobe Commerce developer has been asked to customize a product page layout. What are two valid layout handles? (Choose two.)

Question17: An Adobe Commerce developer wants to apply a knockout binding to a <div> to run a function, onClick(), when it's clicked. Which two solutions would the developer use to achieve this? (Choose two.)

Question18: An Adobe Commerce developer needs to override the catalog product list template located in vendor/magento/module-catalog/view/fronted/templates/product/list.phtml What pattern would the Adobe Commerce developer use to override the file in a custom theme?

Question19: When using Grunt. which CLI command is used to track changes in the source files and recompiles CSS files?

Question20: An Adobe Commerce developer needs to alias URLs and third party libraries inside a requirejs-config.js file.
Which configuration would the developer use?

Question21: An Adobe Commerce developer is using a theme called Vendor/theme that inherits Magento/blank and they need to override parent styles. What two options would the developer use to override parent styles? (Choose two.)

Question22: An Adobe Commerce developer has created and set a new theme from the Content > Design > Configuration at the store view level. After clearing the cache and static content, it is still not reflecting on the front-end.
What would be responsible for this behavior?

Question23: An Adobe Commerce developer needs to create translations for the Orange/custom theme. Which directory would the developer place the translations?

Question24: An Adobe Commerce developer needs to add a CMS block with the ID of cms_block to a container. How would the Adobe Commerce developer add the CMS block using Layout XML?
A)

B)

C)

Question25: An Adobe Commerce developer has to set a specific CMS page to appear when a 404 Page Not Found error occurs.
Where can the CMS No Route Page be configured in the Admin Panel?

Question26: An Adobe Commerce developer has been asked to customize the category page. What file path would they use to extend the category page layout in a theme?

Question27: An Adobe Commerce developer has just installed an extension via composer. When running, bin/magento module: status Vendor_Module, the status is returned Module is disabled.
Which two CLI commands need to be run to make the extension work properly? (Choose two.)

Question28: An Adobe Commerce developer needs to create a JavaScript mixin to add the isDisaeied function. Select two options to create the mixin based on a Ul Component. (Choose two.) A)

B)

C)

Question29: An Adobe Commerce developer has implemented custom theme Vendor/Theme which inherits from Magento/luma. Which two options are parts of the theme fallback logic? (Choose two.)

Question30: Which two files are required for creating a custom theme? Choose two.

Question31: An Adobe Commerce developer needs to add a search field inside a .phtml template.
How would the developer initialize the "quick search widget?
A)

B)

C)

Question32: What is the difference between styles-l.less and styles-m.less?